package cn.line5.seam.annotations;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * <h1>定义注入组件名称</h1> 注入组件时使用，应确保value属性值是已经定义的组件。<br/>
 * eg:<br/>
 * <I> class Test {<br/>
 * ...<br/>
 * 
 * &#64;In("testService")<br/>
 * private TestService testService;<br/>
 * ...<br/>
 * } </I>
 * 
 * @author Liu,Xiaojun
 * @since JDK1.6
 */
@Target(FIELD)
@Retention(RUNTIME)
@Documented
public @interface In {
	String value();
}